package cn.zyq.ykb.beans.tk;

import cn.zyq.ykb.system.common.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 菜品食材对象 menuFood
 *
 * @author SystemAuth
 * @date 2023-10-20
 */
@Data
@Entity
@Table(name = "`menuFood`")
public class MenuFood  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`menuFoodID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer menuFoodID;
    /**
     * 菜单ID
     */
    @Column(name = "`menuID`")
    @ApiModelProperty("菜单ID")
    private Integer menuID;
    /**
     * 食材名称
     */
    @Column(name = "`foodName`")
    @ApiModelProperty("食材名称")
    private String foodName;
    /**
     * 食材用量
     */
    @Column(name = "`foodDosage`")
    @ApiModelProperty("食材用量")
    private String foodDosage;
}
